package com.tchepannou.limbe.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(value={ElementType.FIELD})
public @interface   Column
{
    String name() default "";
    Type type () default Type.DEFAULT;

    public static enum Type
    {
        DEFAULT,
        TEXT,
        URL,
        EMAIL
    }
}
